package com.yuanqunsoft.alimigration.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Portfolio entity. @author MyEclipse Persistence Tools
 */

public class Portfolio implements java.io.Serializable {

    // Fields

    private Integer porId;
    private Integer appId;
    private String porName;
    private Timestamp porCreateTime;
    private Integer userId;
    private Set portfolioWithApplications = new HashSet(0);

    // Constructors

    /** default constructor */
    public Portfolio() {
    }

    /** minimal constructor */
    public Portfolio(String porName, Timestamp porCreateTime, Integer userId) {
        this.porName = porName;
        this.porCreateTime = porCreateTime;
        this.userId = userId;
    }

    /** full constructor */
    public Portfolio(Integer appId, String porName, Timestamp porCreateTime, Integer userId,
            Set portfolioWithApplications) {
        this.appId = appId;
        this.porName = porName;
        this.porCreateTime = porCreateTime;
        this.userId = userId;
        this.portfolioWithApplications = portfolioWithApplications;
    }

    // Property accessors

    public Integer getPorId() {
        return this.porId;
    }

    public void setPorId(Integer porId) {
        this.porId = porId;
    }

    public Integer getAppId() {
        return this.appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public String getPorName() {
        return this.porName;
    }

    public void setPorName(String porName) {
        this.porName = porName;
    }

    public Timestamp getPorCreateTime() {
        return this.porCreateTime;
    }

    public void setPorCreateTime(Timestamp porCreateTime) {
        this.porCreateTime = porCreateTime;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Set getPortfolioWithApplications() {
        return this.portfolioWithApplications;
    }

    public void setPortfolioWithApplications(Set portfolioWithApplications) {
        this.portfolioWithApplications = portfolioWithApplications;
    }

}